export default{
    namespaced:true,
    state(){
        return{
            userInfo:null
        }
    },
    mutations: {
        initUserInfoMut(state, info) {
            state.userInfo=info
            localStorage.setItem('userInfo',JSON.stringify(info))
        }
    }
}